package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallSupplierDao;
import com.appkubes.mall.core.entity.MallSupplier;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallSupplierService extends AbstractBaseService<BaseMallSupplierDao, MallSupplier> {

    MallSupplier getOneByEntity(MallSupplier entity);

    List<MallSupplier> selectListByEntity(MallSupplier entity);

    IPage<MallSupplier> selectPageByEntity(IPage<MallSupplier> page);
    IPage<MallSupplier> selectPageByEntity(PageVO pageVO);

    IPage<MallSupplier> selectPageByEntity(MallSupplier entity, IPage<MallSupplier> page);
    IPage<MallSupplier> selectPageByEntity(MallSupplier entity, PageVO pageVO);

    IPage<MallSupplier> selectPageByEntity(MallSupplier entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallSupplier entity);
}
